﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hrm.Core
{
    public class TeamMenber : Entity
    {
        [MaxLength(50)]
        [Display(Name="中文名")]
        public string ChineseName { get; set; }

        [MaxLength(50)]
        [Display(Name = "英文名")]
        public string EnglishName { get; set; }

        [MaxLength(50)]
        [Display(Name = "类型")]
        public string Type { get; set; }

        [MaxLength(100)]
        [Display(Name = "头像")]
        public string UserImg { get; set; }

        [MaxLength(100)]
        [Display(Name = "公司")]
        public string Company { get; set; }

        [MaxLength(50)]
        [Display(Name = "职位")]
        public string Position { get; set; }

        [MaxLength(2000)]
        [Display(Name = "描述")]
        public string Description { get; set; }

        [Display(Name = "排序")]
        public int OrderNum { get; set; }

        public virtual ICollection<Skill> Skills { get; set; }
    }
}
